package com.example.tool.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {

    @GetMapping("/")
    public String home() {
        return "index.html"; // 返回index.html的路径，Spring Boot会自动查找并渲染该文件
    }
}


